home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / dema / crysis_sp_demo.exe / AllOth~1.cab / shaders.pak / Shaders / Cloth.ext < prev    next >
Encoding:
Text File  |  2007-08-13  |  3.7 KB  |  186 lines

  1. ////////////////////////////////////////////////////////////////////////////
  2. //
  3. //  Crytek Engine Source File.
  4. //  Shader extension
  5. //  Copyright (C), Crytek Studios, 2001-2004.
  6. // -------------------------------------------------------------------------
  7. //  File name:   Cloth.ext
  8. //  Version:     v1.00
  9. //  Created:     10/07/2005 by Tiago Sousa
  10. //  Compilers:   
  11. //  Description: Cloth shader extension used by the editor
  12. //               for automatic shader generation (based on "Cloth" shader template)
  13. // -------------------------------------------------------------------------
  14. //  History:
  15. //
  16. ////////////////////////////////////////////////////////////////////////////
  17.  
  18.  
  19.  
  20. Version (1.00)
  21.  
  22. /* - not used anymore
  23.  
  24. Property
  25. {
  26.   Name = %BUMP_MAP
  27.   Mask = 0x1
  28.   Property    (Bump map)
  29.   Description (Use bump-map texture)
  30.   DependencySet = $TEX_Bump
  31.   DependencyReset = $TEX_Bump
  32.   Hidden
  33. }
  34.  
  35. */
  36.  
  37. /* - not used anymore
  38.  
  39. Property
  40. {
  41.   Name = %GLOSS_MAP
  42.   Mask = 0x2
  43.   Property    (Gloss map)
  44.   Description (Use gloss map as separate texture)
  45.   DependencySet = $TEX_Gloss
  46.   DependencyReset = $TEX_Gloss
  47.   Hidden  
  48. }
  49.  
  50. */
  51.  
  52. Property
  53. {
  54.   Name = %BUMP_DIFFUSE
  55.   Mask = 0x10
  56.   Property    (BumpDiffuse)
  57.   Description (Use separate bump map for diffuse lighting)
  58.   DependencySet = $TEX_BumpDiffuse
  59.   DependencyReset = $TEX_BumpDiffuse
  60.   Hidden
  61. }
  62.  
  63. Property
  64. {
  65.   Name = %ANISO_SPECULAR
  66.   Mask = 0x100
  67.   Property    (Anisotropic specular)
  68.   Description (Use Anisotropic specular version)
  69. }
  70.  
  71. Property
  72. {
  73.   Name = %VERTCOLORS
  74.   Mask = 0x200
  75.   Property    (Vertex Colors)
  76.   Description (Use vertex colors)
  77. }
  78.  
  79. Property
  80. {
  81.   Name = %SPECULARPOW_GLOSSALPHA
  82.   Mask = 0x400
  83.   Property    (PerPixel Spec. Shinines)
  84.   Description (Use specular shininess coef. as alpha channel of gloss texture)
  85.   DependencyReset = $TEX_Gloss
  86.   Hidden
  87. }
  88.  
  89. /*
  90.  
  91. Property
  92. {
  93.   Name = %DECAL_MAP
  94.   Mask = 0x1000
  95.   Property    (Decal map)
  96.   Description (Use decal map for giving texture variation while keeping same diffuse map)
  97.   DependencySet = $TEX_Decal
  98.   DependencyReset = $TEX_Decal  
  99.   Hidden
  100. }
  101.  
  102. */
  103.  
  104. Property
  105.   Name = %ALPHAGLOW
  106.   Mask = 0x4000
  107.   Property    (Glow in Diffuse alpha)
  108.   Description (Use alpha channel of diffuse texture for glow)
  109. }
  110.  
  111. Property
  112.   Name = %NANOSUIT_EFFECTS
  113.   Mask = 0x8000
  114.   Property    (Nanosuit effects)
  115.   Description (Nanosuit strentgh and speed effects)
  116. }
  117.  
  118. Property
  119.   Name = %NANOSUIT_CLOAK
  120.   Mask = 0x10000
  121.   Property    (Nanosuit cloak)
  122.   Description (Nanosuit chameleon cloak effects)
  123. }
  124.  
  125. Property
  126. {
  127.   Name = %OPACITY_MAP
  128.   Mask = 0x20000
  129.   Property    (Opacity map)
  130.   Description (Use opacity map as separate texture)
  131.   DependencySet = $TEX_Opacity
  132.   DependencyReset = $TEX_Opacity
  133.   Hidden
  134. }
  135.  
  136. Property
  137. {
  138.   Name = %DETAIL_BUMP_MAPPING
  139.   Mask = 0x40000
  140.   Property    (Detail bump mapping)
  141.   Description (Use detail bump mapping)
  142. }
  143.  
  144. Property
  145. {
  146.   Name = %DISABLE_RAIN_PASS
  147.   Mask = 0x80000
  148.   Property    (Disable rain layer)
  149.   Description (Disables rain layer)
  150. }
  151.  
  152. Property
  153. {
  154.   Name = %STAT_BRANCHING  
  155.   Mask = 0x10000000
  156.   DependencySet = $HW_StaticBranching
  157.   DependencyReset = $HW_StaticBranching
  158.   Hidden
  159. }
  160. Property
  161. {
  162.   Name = %DYN_BRANCHING
  163.   Mask = 0x20000000
  164.   DependencySet = $HW_DynamicBranching
  165.   DependencyReset = $HW_DynamicBranching
  166.   Hidden
  167. }
  168.  
  169. Property
  170. {
  171.   Name = %WIND_BENDING
  172.   Mask = 0x40000000
  173.   Property    (Wind bending)
  174.   Description (Gets affected by wind entities. Use extra shader parameters to tweak look.)
  175. }
  176.  
  177. Property
  178. {
  179.   Name = %ALPHAMASK_DETAILMAP
  180.   Mask = 0x80000000
  181.   Property    (DetailMap mask in diffuse alpha)
  182.   Description (Use diffuse map alpha for masking detail maps)
  183. }